package com.dhcc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dhcc.entity.SysFinance;
import com.dhcc.mapper.SysFinanceMapper;
import com.dhcc.service.SysFinanceService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class SysFinanceServiceImpl extends ServiceImpl<SysFinanceMapper, SysFinance> implements SysFinanceService {
    @Resource
    private SysFinanceMapper sysFinanceMapper;
    @Override
    public SysFinance getFinanceById(String productId) {
        SysFinance sysFinance=sysFinanceMapper.getFinanceById(productId);
        return sysFinance;
    }
}
